package demo.hdz.mediacodecdecode.mainpage;

import android.content.Context;

import demo.hdz.mediacodecdecode.customview.IVideoView;
import demo.hdz.mediacodecdecode.customview.VideoGLSurfaceView;
import demo.hdz.mediacodecdecode.customview.VideoGLTextureView;
import demo.hdz.mediacodecdecode.customview.VideoSurfaceView;
import demo.hdz.mediacodecdecode.customview.VideoTextureView;

/**
 * @author hdz
 * @date 2019/04/18
 */
public interface IMainPresenter {
    boolean getVideoSize(Context context, String filePath, boolean bAssets);

    boolean checkHwDecoder();

    void startDecode(boolean bAssets, String sH264File,
                     int videoWidth, int videoHeight, int rotation,
                     IVideoView videoView);

    void release();


}
